package com.chen.pfm;

import com.chen.pfm.slice.ChangePasswordSlice;
import com.chen.pfm.slice.UserInfoAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class UserInfoAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        //主路由是个人页面
        super.setMainRoute(UserInfoAbilitySlice.class.getName());
        //修改密码
        addActionRoute("ChangePasswordSlice", ChangePasswordSlice.class.getName());
    }
}
